const express = require('express')
const permission = require('../middleware/permission')
const asyncHandler = require('../util/asyncHandler')
const Eps_article = require('../entity/po/eps_article')
const Rsp = require('../common/Rsp')
const router = express.Router()
const Sequelize = require('sequelize')
const mysql = require('../plugins/mysql')
const sequelize = mysql.sequelize

router.post('/eps_article/getEps_articleList', asyncHandler(async (req, res, nuxt) => {
    Eps_article.findAll({

    }).then(list => {
        res.json(Rsp.build(Rsp.SEARCH_SUCCESSFUL, list))

    })
}))

module.exports = router
